package com.forezp.exception;

/**
 * Created by caoyuan7 on 2019/6/20.
 */

import com.forezp.service.SchedualServiceHi;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 默认降级处理
 */
@RestController
public class HystrixExController  {

    public String sayHiFromClientOne(@RequestParam(value = "name") String name) {
        return "降级了";
    }
}
